package com.happy.study.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName ("feed_info")
public class FeedEntity extends BaseEntity {

    @TableId (value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField ("feedType")
    private Integer feedType;
    @TableField ("feedContent")
    private String feedContent;
    @TableField ("createTime")
    private Date createTime;
    @TableField ("changeTime")
    private Date changeTime;
    @TableField ("isUsed")
    private Integer isUsed;

    public Integer getId () {
        return id;
    }

    public void setId ( Integer id ) {
        this.id = id;
    }

    public Integer getFeedType () {
        return feedType;
    }

    public void setFeedType ( Integer feedType ) {
        this.feedType = feedType;
    }

    public String getFeedContent () {
        return feedContent;
    }

    public void setFeedContent ( String feedContent ) {
        this.feedContent = feedContent;
    }

    public Date getCreateTime () {
        return createTime;
    }

    public void setCreateTime ( Date createTime ) {
        this.createTime = createTime;
    }

    public Date getChangeTime () {
        return changeTime;
    }

    public void setChangeTime ( Date changeTime ) {
        this.changeTime = changeTime;
    }

    public Integer getIsUsed () {
        return isUsed;
    }

    public void setIsUsed ( Integer isUsed ) {
        this.isUsed = isUsed;
    }

    @Override
    public String toString () {
        return "FeedEntity{" +
                "id=" + id +
                ", feedType=" + feedType +
                ", feedContent='" + feedContent + '\'' +
                ", createTime=" + createTime +
                ", changeTime=" + changeTime +
                ", isUsed=" + isUsed +
                '}';
    }
}
